<?php
namespace Admin\Controller;

use Think\Controller;

class IndexController extends Controller
{
    public function index()
    {
        $this->display();
    }

    public function _initialize(){
        if(!isset($_SESSION['loginUser'])){
            echo "false";
        }
    }

    public function logout(){
        session_unset();
        session_destroy();
    }
}